package com.yz.xyt.mapper;

import com.yz.xyt.domain.Student;
import com.yz.xyt.domain.vo.StudentVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface StudentMapper {
    int deleteByPrimaryKey(Integer sid);

    int insert(Student record);

    int insertSelective(Student record);

    Student selectByPrimaryKey(Integer sid);

    int updateByPrimaryKeySelective(Student record);

    int updateByPrimaryKey(Student record);

    int updateByStudentNumberSelective(Student record);

    Student findByStudentNumber(String studentNumber);

    int deleteByStudentNumber(String studentNumber);


    List<StudentVo> findStudentList(StudentVo studentVo);

    StudentVo selectStudentInfo(String studentNumber);

    List<StudentVo> findBySjForPage(StudentVo studentVo);
}